King_Addons\Dynamic_Posts_Grid C

Total Complexity 106
Dependencies 8
Dependents 0
Total lines 4,195
Lines of code 3,523
Logical lines of code 443
Comment lines 367
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
register_style_controls()
D
0
1 2,355
render()
C
30 26 122
register_content_controls()
B
23
2 311
add_dynamic_category_button_colors()
B
27
6 218
get_post_type_icon()
B
44 17 39
add_dynamic_category_icons()
A
30 6 162
add_dynamic_category_colors()
A
39 6 75
add_dynamic_category_ctas()
A
41 6 65
get_cta_text()
A
50 8 29
render_posts()
S
45 4 51
get_post_type_display()
S
56 6 18
get_post_category_color_classes()
S
58 5 15
get_keywords()
S
56 1 22
get_post_types()
S
66 2 8
get_taxonomies()
S
66 2 8
get_name()
S
82 1 3
get_title()
S
79 1 3
get_icon()
S
82 1 3
get_style_depends()
S
80 1 3
get_script_depends()
S
80 1 3
get_categories()
S
81 1 3
get_custom_help_url()
S
82 1 3
register_controls()
S
78 1 4